package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 核销记录表
 * </p>
 *
 * @author chenxuebin
 * @since 2018-12-27
 */
@TableName("t_hexiao_log")
public class HexiaoLog extends Model<HexiaoLog> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * #活动商品ID
     */
	private Long gid;
	private String ma;
	private Long mid;
	private Long mpid;
	private Long uid;
	private Long sid;
	private Long hxuid;
	private BigDecimal jiazhi;
	private BigDecimal realpay;
	private Integer confirm;
	private Date createtime;
	private Date modifytime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMa() {
		return ma;
	}

	public void setMa(String ma) {
		this.ma = ma;
	}

	public Long getGid() {
		return gid;
	}

	public void setGid(Long gid) {
		this.gid = gid;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Long getHxuid() {
		return hxuid;
	}

	public void setHxuid(Long hxuid) {
		this.hxuid = hxuid;
	}

	public BigDecimal getJiazhi() {
		return jiazhi;
	}

	public void setJiazhi(BigDecimal jiazhi) {
		this.jiazhi = jiazhi;
	}

	public BigDecimal getRealpay() {
		return realpay;
	}

	public void setRealpay(BigDecimal realpay) {
		this.realpay = realpay;
	}

	public Integer getConfirm() {
		return confirm;
	}

	public void setConfirm(Integer confirm) {
		this.confirm = confirm;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "HexiaoLog{" +
			"id=" + id +
			", gid=" + gid +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", sid=" + sid +
			", hxuid=" + hxuid +
			", jiazhi=" + jiazhi +
			", realpay=" + realpay +
			", confirm=" + confirm +
			", createtime=" + createtime +
			"}";
	}
}
